<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>客户信息</title>
    <meta name="robots" content="noindex, follow" />
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Favicon -->
    <div th:replace="~{BackEnd/navigation::Favicon}"></div>
</head>

<body class="skin-dark">

<div class="main-wrapper">

    <!-- 头文开始 -->
    <div th:replace="~{BackEnd/navigation::Header}"></div>
    <!-- 头文结束 -->

    <!-- 侧边导航栏开始 -->
    <div th:replace="~{BackEnd/navigation::Topbbar}"></div>
    <!-- 侧边导航栏结束 -->

    <!-- 正文 -->
    <div class="content-body">

        <!-- 页面标题开始 -->
        <div class="row justify-content-between align-items-center mb-10">

            <!-- 页面标题开始 -->
            <div class="col-12 col-lg-auto mb-20">
                <div class="page-heading">
                    <h3>管理 <span>/ 客户管理</span></h3>
                </div>
            </div><!-- 页面标题结束 -->

        </div><!-- 页面标题结束 -->

        <!-- 客户表 开始 -->
        <div class="row">

            <!--客户列表 Start-->
            <div class="col-12 mb-30">
                <div class="box">
                    <div class="box-head">
                        <h3 class="title">客户信息表</h3>
                    </div>
                    <div class="box-body">
                        <table class="table table-bordered data-table data-table-default ">
                            <thead>
                            <tr>
                                <th>序号</th>
                                <th>微信号</th>
                                <th>名称</th>
                                <th>订单金额</th>
                                <th>总佣金</th>
                                <th>余额</th>
                                <th>上级</th>
                                <th>佣金等级</th>
                                <th>邮箱</th>
                                <th>vip等级</th>
                                <th>积分</th>
                                <th>加入时间</th>
                                <th>详情</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr th:each="client:${clients}">
                                <td th:text="${clientStat.count}"></td>
                                <td th:text="${client.clientWechat}"></td>
                                <td th:text="${client.clientName}"></td>
                                <td th:text="${client.orderAmount}"></td>
                                <td th:text="${client.clientBalance}"></td>
                                <td th:text="${client.clientBalance}"></td>
                                <td th:text="${client.clientSuperior}"></td>
                                <td th:text="${client.clientVip}"></td>
                                <td th:text="${client.clientEmail}"></td>
                                <td th:text="${client.clientVip}"></td>
                                <td th:text="${client.clientVip}"></td>
                                <td th:text="${client.gmtCreation}"></td>
                                <td><a class="btn btn-outline-primary" th:href="@{/client/information/{id}(id=${client.getClientId()})}">查看</a></td>
                            </tr>
                            </tbody>
                            </tfoot>
                        </table>

                    </div>
                </div>
            </div>
            <!--Default Data Table End-->

        </div>

    </div>
    <!-- 中文结束 -->

    <!-- 页脚部分开始 -->
    <div th:replace="~{BackEnd/navigation::Footer}"></div>
    <!-- 页脚部分结束 -->

</div>

<!-- =====================Js======================= -->
<div th:replace="~{BackEnd/navigation::Jsp}"></div>

</body>

</html>